package com.song.tools.songtest.constants;

import com.song.tools.trigger.TriggerType;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 触发类型枚举
 *
 * @author song tools
 * @since 2024-07-19
 */
@AllArgsConstructor
@Getter
public enum TriggerTypeEnum implements TriggerType {

    // 给用户设置角色
    GRANT_ROLE_FOR_USER(1, "给用户设置角色"),
    // 用户登录
    USER_LOGIN(2, "用户登录"),
    ;

    private final Integer code;
    private final String desc;
}
